

<?php

$username = $_GET['username'];
$password = $_GET['password'];
$nickname = $_GET['nickname'];

$link = mysqli_connect('127.0.0.1','root','root','bk2004');
$sql = "INSERT INTO `users` VALUES(NULL,'$username','$password','$nickname')";
$res = mysqli_query($link,$sql);

print_r($res)
?>